home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / df.z / df
Encoding:
Text File  |  1998-10-20  |  6.6 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ddddffff((((1111))))                                                                    ddddffff((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      df - report number of free disk blocks
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ddddffff [ ----bbbbeeeeffffhhhhiiiikkkkllllmmmmnnnnPPPPqqqqrrrrttttVVVV ] [ ----wwww fieldwidth ] [ ----FFFF FStype ] [ filesystem ...]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _d_f reports the number of total, used, and available disk blocks (one disk
  16.      block equals 512 bytes) in filesystems.  The _f_i_l_e_s_y_s_t_e_m argument is a
  17.      device special file containing a disk filesystem, a mounted NFS
  18.      filesystem of the form _h_o_s_t_n_a_m_e:_p_a_t_h_n_a_m_e, or any file, directory, or
  19.      special node in a mounted filesystem.  If no _f_i_l_e_s_y_s_t_e_m arguments are
  20.      specified, _d_f reports on all mounted filesystems.
  21.  
  22.      The options to _d_f are:
  23.  
  24.      ----bbbb   Causes _d_f to report usage in 512-byte units, which is the default.
  25.  
  26.      ----eeee   Causes only the device and the number of free inodes to be printed.
  27.  
  28.      ----FFFF _F_S_t_y_p_e
  29.           Causes filesystems of types other than _F_S_t_y_p_e to be skipped.
  30.  
  31.      ----ffff   Normally, the free block information is gleaned from the
  32.           filesystem's superblock.  The ----ffff flag forces a scan of the free
  33.           block list.
  34.  
  35.      ----hhhh   Causes _d_f to report usage in ``human'' blocks.  Each size is
  36.           converted to kilobytes, megabytes, gigabytes, or terabytes and
  37.           printed with a postfix indicating the units.  Units are in powers of
  38.           two, i.e., a megabyte is 2 to the 20th. This option also affects the
  39.           inode style listing.
  40.  
  41.      ----iiii   Reports the number and percentage of used inodes and the number of
  42.           free inodes.
  43.  
  44.      ----kkkk   Causes _d_f to report usage in 1024-byte units.
  45.  
  46.      ----llll   Restricts the report to local disk filesystems only.  This option is
  47.           supported only with EFS and XFS filesystems.
  48.  
  49.      ----mmmm   Causes _d_f to report usage in 1048576-byte (megabyte) units. This
  50.           option also affects the inode style listing.
  51.  
  52.      ----nnnn   Prints only the device name and filesystem type for each filesystem.
  53.  
  54.      ----PPPP   When both the ----PPPP and ----kkkk options are specified, the following header
  55.           line will be written:
  56.  
  57.                Filesystem 1024-blocks Used Available Capacity Mounted on
  58.  
  59.           When the ----PPPP is specified without the ----kkkk option, the following header
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ddddffff((((1111))))                                                                    ddddffff((((1111))))
  71.  
  72.  
  73.  
  74.           line will be written:
  75.  
  76.                Filesystem 512-blocks Used Available Capacity Mounted on
  77.  
  78.  
  79.      ----qqqq   Recognized but ignored.  Provided for compatibility with previous
  80.           releases.
  81.  
  82.      ----rrrr   For XFS filesystems, adds the realtime portion of the filesystem,
  83.           which is normally excluded.
  84.  
  85.      ----tttt   Recognized but ignored.  Provided for compatibility with previous
  86.           releases.
  87.  
  88.      ----VVVV   Causes a command line to be constructed from the defaults and
  89.           echoed.  Additional arguments are ignored.
  90.  
  91.      ----wwww _f_i_e_l_d_w_i_d_t_h
  92.           Causes the width of the first field (the FFFFiiiilllleeeessssyyyysssstttteeeemmmm field) to be
  93.           padded to that value.  This allows control of the output, so that
  94.           systems with long pathnames can still have columnar output.  In
  95.           earlier releases, this field was truncated, in an attempt to keep
  96.           the output from wrapping on an 80 column display (which often failed
  97.           anyway, except for very short mount point names).  Now it is never
  98.           truncated.
  99.  
  100. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  101.      To report usage in the root filesystem, use either of the following:
  102.  
  103.           df /dev/root
  104.           df /
  105.  
  106.      Report on the filesystem containing the current directory:
  107.  
  108.           df .
  109.  
  110.  
  111. FFFFIIIILLLLEEEESSSS
  112.      /etc/mtab
  113.  
  114. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  115.      statfs(2), efs(4), xfs(4).
  116.  
  117. EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  118.      If the environment variable HHHHUUUUMMMMAAAANNNN____BBBBLLLLOOOOCCCCKKKKSSSS is set, it implies ----hhhh.
  119.  
  120. BBBBUUUUGGGGSSSS
  121.      Free counts may be incorrect, with or without the ----ffff flag.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ddddffff((((1111))))                                                                    ddddffff((((1111))))
  137.  
  138.  
  139.  
  140. NOTES
  141.      In previous IRIX releases, usage was reported in 1024-byte units.
  142.  
  143.      The interpretation of megabyte et al as 1,000,000 or 2^20 is a matter of
  144.      debate.  The current reasoning is that kbytes are 1024, so megabytes
  145.      should be 1024*1024.
  146.  
  147.      The proc filesystem (normally mounted under /_p_r_o_c) is not printed by
  148.      default, but can be explicitly specified.  This filesystem consumes no
  149.      actual disk space, but is an interface to the virtual space of running
  150.      processes.  The total and free blocks reported represent the total
  151.      virtual memory (real memory plus swap space) present and the amount
  152.      currently free, respectively.
  153.  
  154.      The ----iiii option applied to filesystems of type nnnnffffssss reports a free inode
  155.      count of 0.  Future versions of NFS will support useful inode counts.
  156.      For the pppprrrroooocccc filesystem type, ----iiii reports the number of active process
  157.      slots in the _i_u_s_e column and the number of available slots in the _i_f_r_e_e
  158.      column.
  159.  
  160.      For XFS filesystems, there is no way to see the space used by the log
  161.      portion of the filesystem.
  162.  
  163.      In earlier releases, _d_f silently right truncated long device names and
  164.      NFS server pathnames.  _d_f now left truncates, since the left portion is
  165.      more likely to be non-unique than the right.
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.